package com.piggy.logi.sys.mapper;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.piggy.common.core.web.page.BaseMapperPlus;
import com.piggy.logi.sys.domain.LogiScheduleLog;

import java.util.List;

public interface LogiScheduleLogMapper extends BaseMapperPlus<LogiScheduleLog> {

    default List<LogiScheduleLog> selectByScheduleId(Long scheduleId) {
        return selectList(Wrappers.<LogiScheduleLog>lambdaQuery().in(LogiScheduleLog::getScheduleId, scheduleId));
    }
}
